# -*- coding: utf-8 -*-
import scrapy
import json
import pandas as pd
from scrapy import FormRequest


class ColPr(scrapy.Spider):
    name = 'col_pr'

    tst = open("col.json", )
    models = json.load(tst)
    tst.close

    start_urls = ['https://www.tucarro.com.co/']

    # yield FormRequest(url=self.start_urls, callback=self.parse_maker)

    def parse(self, response):
        yield response.xpath('//h2').getall()